
<div id="header">
            <a href="#" class="logo"><img src="<?php echo base_url();?>img/UBE-logo.png" width="126" height="111" alt="" /></a>  
          <ul id="top-navigation">
          <?php 
          	function isActive($comp,$fix){
          		if ($comp == $fix){
          			echo 'class="active"';
          		}
          	}
          ?>
          	<? if($role_id==1){ ?>
              	<li>
						<a href="<?php echo site_url('manager/dashboard');?>" <?php isActive($nowmenu, 'dashboard')?>>Dashboard</a>
					</li>
					<li>
						<a href="<?php echo site_url('users/index');?>" <?php isActive($nowmenu, 'members')?>>Members</a>
					</li>
					<li>
						<a href="<?php echo site_url('land');?>" <?php isActive($nowmenu, 'land')?>>Lands</a>
					</li>
					<li>
						<a href="<?php echo site_url('manager/realtime');?>" <?php isActive($nowmenu, 'supplies')?>>Supplies</a>
					</li>
					<li>
						<a href="#">Statistics</a>
					</li>
					<li>
						<a href="<?php echo site_url('setting/role_index');?>" <?php isActive($nowmenu, 'setting')?>>Settings</a>
					</li>
			<?}else if($role_id==5){?>
					<li>
						<a href="<?php echo site_url('land');?>" class="active">Lands</a>
					</li>
			<?}else if($role_id==6){?>
					<li>
						<a href="<?php echo site_url('manager/realtime');?>" class="active">Supplies</a>
					</li>
			<?}?>
            </ul>
        </div>